﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ThienLoc
{
    public partial class UCMenuItemBlock : System.Web.UI.UserControl
    {
        public void SetValue(int mID,string text, string image)
        {
            hplMenuImg.NavigateUrl = "DanhSachMon.aspx?mid=" + mID;
            imgMenu.ImageUrl = image;
            hplMenuTitle.NavigateUrl = "DanhSachMon.aspx?mid=" + mID;
            hplMenuTitle.Text = text;
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}